﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using com.iot.core.annotation;
using System.Xml.Linq;
using Newtonsoft.Json;
using Microsoft.EntityFrameworkCore;
using com.iot.core.data;
using System.ComponentModel.DataAnnotations;

namespace com.iot.core.manager.htctl
{
     
    [Schema(Name = "HtCtlDto", Description = "")]
    public class HtCtlDto : BaseDto
    {




        [Comment("类英文名")]
        [Schema(Name = "类英文名", Description = "")]
        public string Ename { get; set; } = "";


        [Comment("类名称")]
        [Schema(Name = "类名称", Description = "")]
        public string Name { get; set; } = "";


        [Comment("类全名")]
        [Schema(Name = "类全名", Description = "")]
        public string FullName { get; set; } = "";


        [Comment("类备注")]
        [Schema(Name = "类备注", Description = "")]
        public string Memo { get; set; } = "";


        [Comment("路由")]
        [Schema(Name = "路由", Description = "")]
        public string Route { get; set; } = "";


        [Comment("Actions")]
        [Schema(Name = "Actions", Description = "")]
        public List<HtCtlActDto> Actions { get; set; }

        [JsonIgnore]  
        [Comment("clazz")]
        [Schema(Name = "clazz", Description = "")]
        public Type Clazz { get; set; }


    }
}

